package com.ioffice.export.excel.engine.data.excel.impl;

import java.util.List;

import com.ioffice.exception.IOfficeException;
import com.ioffice.export.excel.data.ExcelSheetDataInfo;
import com.ioffice.export.excel.engine.data.excel.EngineDataExcelSheet;
import com.ioffice.export.excel.sheet.ExcelSheet;
import com.ioffice.export.excel.type.ExcelSheetType;

/**
 * 
 * @author <a href="mailto:goodluck.sunlight@gmail.com">chenboning</a>
 *
 * 
 * @descption 
 *
 * @version 1.0
 *
 *
 * @time  2013-5-21  下午2:10:09
 */
public abstract class AbstractEngineDataExcelSheet implements EngineDataExcelSheet{

	
	protected ExcelSheet sheet; 
	
	/**
	 * 构建ExcelSheet对象
	 * @param datas
	 * @param sheetType
	 */
	public abstract void createExcelSheet(List<ExcelSheetDataInfo> datas,ExcelSheetType sheetType) throws IOfficeException;
	
	
	
	public ExcelSheet getSheet() {
		return sheet;
	}
	
}
